﻿<%@ Page Title="" Language="C#" MasterPageFile="~/template/Justin/Master/Site.Master"
    AutoEventWireup="true" CodeBehind="ProductList.aspx.cs" Inherits="LinkCard.CustomerView.ProductList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ctph" runat="server">
    <ul class="sub-menu">
        <li><a href="/Default.aspx">Trang chủ &gt;</a></li>
        <li><span>Sản phẩm &gt;</span></li>
        <li><span>Từ khóa: <asp:Literal runat="server" ID="ltkeyword"></asp:Literal> </span></li>
    </ul>
    <div class="product-cat">
        
        <asp:Repeater runat="server" ID="rpcatproduct">
            <HeaderTemplate>
                <ul>
            </HeaderTemplate>
            <ItemTemplate>
                <li><a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("DealID"),Eval("Name"),Eval("ParentCategoryId"))%>'>
                    <div class="product-cat-item">
                        <img style="max-height: 160px;" src='<%#LinkCard.Utils.Utilities.GetProductImage(Eval("Image"))%>'
                            alt="" />
                    </div>
                </a><a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("DealID"),Eval("Name"),Eval("ParentCategoryId"))%>'>
                    <h3>
                        <%#HttpUtility.HtmlDecode(Eval("Name").ToString()) %></h3>
                </a>
                    <p>
                        <%#Eval("Description") %>
                        <a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("DealID"),Eval("Name"),Eval("ParentCategoryId"))%>'>
                            (xem thêm)</a>
                    </p>
                </li>
            </ItemTemplate>
            <FooterTemplate>
                </ul>
            </FooterTemplate>
        </asp:Repeater>
        <asp:Literal ID="ltrPaging" runat="server"></asp:Literal>
    </div>
</asp:Content>
